package com.keon.jianbao.bean;

import com.keon.jianbao.R;

import java.util.ArrayList;

/**
 * Created by keon on 2015/9/29.
 */
public class DetailAppraisal extends Entity {
    String appraisal_name;
    String appraisal_size;
    int expert_fee;
    int status;
    ArrayList<String> appraisal_image;
    String linkinfo;
    int expert_id;
    String status_alias;
    String appraisal_weight;
    String appraisal_age;
    String user_name;
    int expert_appraisal_time;
    String expert_appraisal_name;
    String expert_appraisal_age;
    String create_time;
    String expert_appraisal_result;
    String appraisal_catalog;
    String appraisal_desc;
    int user_id;
    String expert_appraisal_detail;
    int pay_id;
    String expert_name;
    ArrayList<String> expert_refuse_reason;
    String expert_refuse_detail;
    int star;
    String comment;


    public String getAppraisal_name() {
        return appraisal_name;
    }

    public void setAppraisal_name(String appraisal_name) {
        this.appraisal_name = appraisal_name;
    }

    public String getAppraisal_size() {
        return appraisal_size;
    }

    public void setAppraisal_size(String appraisal_size) {
        this.appraisal_size = appraisal_size;
    }

    public int getExpert_fee() {
        return expert_fee;
    }

    public void setExpert_fee(int expert_fee) {
        this.expert_fee = expert_fee;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ArrayList<String> getAppraisal_image() {
        return appraisal_image;
    }

    public void setAppraisal_image(ArrayList<String> appraisal_image) {
        this.appraisal_image = appraisal_image;
    }

    public String getLinkinfo() {
        return linkinfo;
    }

    public void setLinkinfo(String linkinfo) {
        this.linkinfo = linkinfo;
    }

    public int getExpert_id() {
        return expert_id;
    }

    public void setExpert_id(int expert_id) {
        this.expert_id = expert_id;
    }

    public String getStatus_alias() {
        return status_alias;
    }

    public void setStatus_alias(String status_alias) {
        this.status_alias = status_alias;
    }

    public String getAppraisal_weight() {
        return appraisal_weight;
    }

    public void setAppraisal_weight(String appraisal_weight) {
        this.appraisal_weight = appraisal_weight;
    }

    public String getAppraisal_age() {
        return appraisal_age;
    }

    public void setAppraisal_age(String appraisal_age) {
        this.appraisal_age = appraisal_age;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getExpert_appraisal_time() {
        return expert_appraisal_time;
    }

    public void setExpert_appraisal_time(int expert_appraisal_time) {
        this.expert_appraisal_time = expert_appraisal_time;
    }

    public String getExpert_appraisal_name() {
        return expert_appraisal_name;
    }

    public void setExpert_appraisal_name(String expert_appraisal_name) {
        this.expert_appraisal_name = expert_appraisal_name;
    }

    public String getExpert_appraisal_age() {
        return expert_appraisal_age;
    }

    public void setExpert_appraisal_age(String expert_appraisal_age) {
        this.expert_appraisal_age = expert_appraisal_age;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getExpert_appraisal_result() {
        return expert_appraisal_result;
    }

    public void setExpert_appraisal_result(String expert_appraisal_result) {
        this.expert_appraisal_result = expert_appraisal_result;
    }

    public String getAppraisal_catalog() {
        return appraisal_catalog;
    }

    public void setAppraisal_catalog(String appraisal_catalog) {
        this.appraisal_catalog = appraisal_catalog;
    }

    public String getAppraisal_desc() {
        return appraisal_desc;
    }

    public void setAppraisal_desc(String appraisal_desc) {
        this.appraisal_desc = appraisal_desc;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getExpert_appraisal_detail() {
        return expert_appraisal_detail;
    }

    public void setExpert_appraisal_detail(String expert_appraisal_detail) {
        this.expert_appraisal_detail = expert_appraisal_detail;
    }

    public int getPay_id() {
        return pay_id;
    }

    public void setPay_id(int pay_id) {
        this.pay_id = pay_id;
    }

    public String getExpert_name() {
        return expert_name;
    }

    public void setExpert_name(String expert_name) {
        this.expert_name = expert_name;
    }


    public ArrayList<String> getExpert_refuse_reason() {
        return expert_refuse_reason;
    }

    public void setExpert_refuse_reason(ArrayList<String> expert_refuse_reason) {
        this.expert_refuse_reason = expert_refuse_reason;
    }

    public String getExpert_refuse_detail() {
        return expert_refuse_detail;
    }

    public void setExpert_refuse_detail(String expert_refuse_detail) {
        this.expert_refuse_detail = expert_refuse_detail;
    }

    public int getStar() {
        return star;
    }

    public int getStar2() {
        if (star == 1) {
            return R.string.expert_comment_1;
        } else if (star == 2) {
            return R.string.expert_comment_3;
        } else if (star == 3) {
            return R.string.expert_comment_3;
        }
        return R.string.expert_comment_1;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
